import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import { Lazyload } from 'vant';
import 'vant/lib/index.css';
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Vant);
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import settings from '@/assets/js/settings'
import axios from 'axios'
require('video.js/dist/video-js.css');
require('vue-video-player/src/custom-theme.css');
import VideoPlayer from 'vue-video-player'
Vue.use(VideoPlayer);
Vue.prototype.$axios = axios

// 配置cookies为全局
import cookies from 'vue-cookies'

Vue.prototype.$cookies = cookies
Vue.prototype.$settings = settings;
Vue.config.productionTip = false
import '@/assets/css/global.css'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
